<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<title>Rezervačný systém</title>

<?php
	$version = time();
	$bUrl = $baseUrl . "assets";
	
	// jquery UI
	echo "<link rel=\"stylesheet\" href=\"$bUrl/jquery-ui-1.11.2.custom/jquery-ui.min.css?v=$version\" />";
    echo "<script type=\"text/javascript\" src=\"$bUrl/jquery-ui-1.11.2.custom/external/jquery/jquery.js?v=$version\"></script>";
	echo "<script type=\"text/javascript\" src=\"$bUrl/jquery-ui-1.11.2.custom/jquery-ui.min.js?v=$version\"></script>";
	
	// bootstrap
	echo "<link rel=\"stylesheet\" href=\"$bUrl/bootstrap-3.3.0/css/bootstrap.min.css\" />";
	echo "<link rel=\"stylesheet\" href=\"$bUrl/bootstrap-3.3.0/css/bootstrap-theme.min.css\" />";
	echo "<script src=\"$bUrl/bootstrap-3.3.0/js/bootstrap.min.js\"></script>";
	
	echo "<link rel=\"stylesheet\" href=\"$bUrl/css/styly.css?v=$version\" />";
?>
	
</head>

<body>

<img id ="ajaxLoaderImg" alt="" src="<?=$bUrl?>/img/ajax-loader.gif" style="display:none; position:absolute; left:50%; top: 50%;" /> 
	
<?php
	if (isset($menuData))
		echo $menuData;
	
	if (isset($centralViewData))
		echo $centralViewData;
?>
	
</body>
</html>